package cw;

import static org.junit.Assert.assertEquals;
import org.junit.Test;


	
	public class SplitStringTest {
		@Test
		public void testSplitNormal() {
			String testWord = "zxc";
			String oriResWord = "zx";
			String testResWord = SplitString.spilt(testWord, 0, 2);
			assertEquals(oriResWord, testResWord);
		}

		@Test
		public void testSplitBlank() {
			String testWord = "";
			String oriResWord = "";
			String testResWord = SplitString.spilt(testWord, 0, 2);
			assertEquals(oriResWord, testResWord);
		}
	}